/**
 * Created by Administrator on 2017/7/19.
 */
const bluedSDK = require('../util/bluedSDK.js');
const util = require('../util/util.js');

var pay = module.exports;

pay.callback = function (req, res) {
    res.header('Access-Control-Allow-Origin', '*');
    var data = util.getRequestParam(req);
    var result = bluedSDK.payCallback(data);
    res.send(result).end();
};